import request from '@/utils/request'

export function getListPage(query) {
  return request({
    url: '/repair/excel/listPageErrorDataByProducerId/',
    method: 'GET',
    params: query
  })
}

export function getErrorTitle(query) {
  return request({
    url: '/repair/excel/listErrorTitle/',
    method: 'GET',
    params: query
  })
}

export function saveErrorList(query) {
  return request({
    url: '/repair/excel/saveImportData/',
    method: 'POST',
    data: query
  })
}
